@extends('admin.app')

@section('content')
  <div class="panel panel-default">
    <div class="panel-heading font-bold">
      领取记录信息
    </div>
    <div class="panel-body">
      <form class="form-horizontal">
        <div class="form-group">
          <label class="col-lg-2 control-label">账户名：</label>
          <div class="col-lg-10">
            <p class="form-control-static">{{ $info->username }}</p>
          </div>
        </div>
        <div class="line line-dashed b-b line-lg"></div>
        <div class="form-group">
          <label class="col-lg-2 control-label">所属红包</label>
          <div class="col-lg-10">
            <p class="form-control-static">{{ $activity->name }}</p>
          </div>
        </div>
        <div class="line line-dashed b-b line-lg"></div>
        <div class="form-group">
          <label class="col-lg-2 control-label">领取时间</label>
          <div class="col-lg-10">
            <p class="form-control-static">{{ $info->input_time }}</p>
          </div>
        </div>
        <div class="line line-dashed b-b line-lg"></div>
        <div class="form-group">
          <label class="col-lg-2 control-label">金额</label>
          <div class="col-lg-10">
            <p class="form-control-static">{{ $info->money }}</p>
          </div>
        </div>
        <div class="line line-dashed b-b line-lg"></div>
        <div class="form-group">
          <label class="col-lg-2 control-label">红包有效期</label>
          <div class="col-lg-10">
            <p class="form-control-static">{{ $info->begin_time }}&nbsp;--&nbsp;{{ $info->end_time }}</p>
          </div>
        </div>
        <div class="line line-dashed b-b line-lg"></div>
        <div class="form-group">
          <label class="col-lg-2 control-label">使用时间</label>
          <div class="col-lg-10">
            <p class="form-control-static">{{ $info->use_time }}</p>
          </div>
        </div>
        <div class="line line-dashed b-b line-lg"></div>
        <div class="form-group">
          <label class="col-lg-2 control-label">使用项目</label>
          <div class="col-lg-10">
            <p class="form-control-static">{{ $info->project_id }}</p>
          </div>
        </div>
        <div class="line line-dashed b-b line-lg"></div>
        <div class="form-group">
          <div class="col-lg-4 col-lg-offset-2">
            <a href="{{ admin_action('Gift\RecordController@index',[$activity]) }}" class="btn btn-default">返&nbsp;回</a>
          </div>
        </div>
      </form>
    </div>
  </div>
@endsection